package demo;

/**
 * @author ZhouWeiBo
 * @create 2022/6/7
 *
 */
public class App {
    public static void main(String[] args) {
        History  history = new History();
        Text text = new Text();
        text.addContent("skc");
        history.Backup(text.backup());
        text.addContent("sdadsa0dsd0sad0sa0ds0da0ds0d00");
        System.out.println(text);
        text.resume(history.getLastVersion());
        System.out.println(text);
    }
}
